<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>{$Think.config.title} &rsaquo; 注册 &rsaquo; Powered by ThinkBLOG</title>
<link rel='stylesheet' id='login-css' href='__PUBLIC__/admin/css/login.css?{$Think.const.VERHASH}' type='text/css' media='all'/>
<link rel='stylesheet' id='colors-fresh-css' href='__PUBLIC__/admin/css/colors-fresh.css?{$Think.const.VERHASH}' type='text/css' media='all'/>
<style type="text/css" media="screen">
* { font: 12px Segoe UI,Tahoma,Arial,Verdana,simsun,sans-serif,"Microsoft YaHei"; }
</style>
<script type='text/javascript' src='__PUBLIC__/js/jquery.js?{$Think.const.VERHASH}'></script>
<script type='text/javascript' src='__PUBLIC__/admin/js/Base.js?{$Think.const.VERHASH}'></script>
<script type='text/javascript' src='__PUBLIC__/admin/js/ThinkAjax.js?{$Think.const.VERHASH}'></script>
<script type="text/javascript">
function registerHandle(data,status) {
	if (status==1) {
		setTimeout("window.location.href = '{:U('/user/login')}'", 2000);
	}
}

document.onkeydown = function (e) { 
	var theEvent = window.event || e; 
	var code = theEvent.keyCode || theEvent.which; 
	if (code == 13) { 
		$("#cmt-submit").click(); 
	} 
}
</script>
</head>
<body class="login">
<div id="login">
	<h1><a href="###" title="基于 ThinkBLOG">{$Think.config.title}</a></h1>
	<p class="message register">
		在这个站点注册
	</p>
	<div id="login_error">
	</div>
	<form name="registerform" id="registerform">
		<p>
			<label>用户名<br/>
			<input type="text" name="username" id="username" class="input" value="" size="20" tabindex="10"/></label>
		</p>
		<p>
			<label>电子邮件<br/>
			<input type="text" name="email" id="email" class="input" value="" size="25" tabindex="20"/></label>
		</p>
		<p id="reg_passmail">
			密码将通过电子邮件发送给您。
		</p>
		<p class="submit">
			<input type="button" name="cmt-submit" id="cmt-submit" class="button-primary" value="注册" tabindex="100" onclick="ThinkAjax.sendForm('registerform','{:U('Admin/Privilege/registration','',false)}',registerHandle,'login_error');"/>
			<input type="hidden" name="ajax" value="1"/>
		</p>
	</form>
	<p id="nav">
		<a href="{:U('/user/login')}">登录</a> | <a href="{:U('/user/lostpassword')}" title="找回密码">忘记密码？</a>
	</p>
	<p id="backtoblog">
		<a href="{$Think.config.website}" title="不知道自己在哪？">&larr; 回到 {$Think.config.title}</a>
	</p>
</div>
</body>
</html>{__NORUNTIME__}